<%--
  Created by IntelliJ IDEA.
  User: 辰
  Date: 2023/11/29
  Time: 15:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>显示下载文件</title>
</head>
<body>
<table border="1">
  <tr bgcolor="LightGreen">
    <th>文件名称</th>
    <th>下载课件</th>
  </tr>
  <c:forEach var="afile" items="${fileList}">
    <tr>
      <td>${afile.name}</td>
      <td align="center"><a href="downloadServlet?resPath=${afile.name}" style="text-decoration: none" >下载</a></td>
    </tr>
  </c:forEach>
</table>
</body>
</html>
